<template>
	<view class="content">
		<c-page>
			<u-navbar :is-back="false" title="">
				<view class="nav">
					<view class="nav-left">left</view>
					<view class="nav-content u-line-1">佳世达爱上科技大厦的阿克苏觉得好佳世达爱上科技大厦的阿克苏觉得好佳世达爱上科技大厦的阿克苏觉得好</view>
					<view class="nav-right">
						
					</view>
				</view>
			</u-navbar>
			<view class="content">
				<!-- <u-button @click="buy">跳转</u-button> -->
				<navigator url="plugin://movie-ticket/index?movieuid=666&movieapikey=b464d525ee47f879&homepath=/pages/home/home&index=/pages/home/home">
				  <box />
				</navigator>
				<navigator url="plugin://movie-ticket/index?movieuid=666&movieapikey=b464d525ee47f879&homepath=/pages/home/home&index=/pages/home/home">
				  <box :hot="false"/>
				</navigator>
			</view>
		</c-page>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				background:{
					backgroundColor:'#fff'
				}
			}
		},
		onLoad() {
			// let data = await this.$u.api.getHome()
			// this.$app.showMessage('1231231')
			console.log('111')
			// console.log(data)
		},
		onShow() {
			
		},
		methods: {
			buy(){
				wx.navigateTo({
					url: "plugin://movie-ticket/index"
				});
			},
			Click(){
				this.$app.showMessage('1231231')
			},
		}
	}
</script>

<style lang="scss" scoped>
	.nav{
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 30rpx;
		.nav-left{
			width: 100rpx;
		}
		.nav-content{
			width: 400rpx;
		}
		.nav-right{
			width: 100rpx;
			text-align: right;
		}
	}
</style>
